/************************
 *Date: 14.07.2011
 *Year: 2011
 *Project: Java_Specials
 *File: SpecialClass.java
 *************************
 *Description: 
 *************************
 *Author: Viktor
 *TODO
 *************************
 *******--History--*******
 *Version:
 *Changes:
 *Author:
 *************************/

/**
 * @author Viktor
 *
 */
class SpecialClass{
	String special = "default";
	public SpecialClass(String s){
		special = s;
	}
	public SpecialClass(){
		System.out.println(special);
	}
}

class TestSpecialClass {

	private static SpecialClass special;
		
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try {
			Class<?> c = Class.forName("SpecialClass");
			special = (SpecialClass) c.newInstance();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

}
